<div class="isi">
        
        <?php 
            $atr=array('id'=>'formID',
                    'class'=>'formular');
            echo form_open('admin_provinsi/simpan', $atr);
        ?> 
            <input type="hidden" name="id" value="<?php echo $id; ?>" id="id"/>
            <table width="100%">
                <tr>
                    <td width="15%" align="text"><p> Nama Provinsi </p> </td>
                    <td><p> : </p> </td>
                    <td> <input type="text" size="70" name="nama_provinsi" id="nama_provinsi" value="<?php echo $nama_provinsi ?>" class="validate[required] text-input" /> </td>
                </tr>
                <tr>
                    <td width="15%" align="text"><p> Status </p> </td>
                    <td><p> : </p> </td>
                    <td> 
                        <select name="status" id="status">
                        <?php 
                            if($status){
                                echo "<option value='1' selected>Aktif</option>";
                                 echo "<option value='0' >Pasif</option>";
                            }
                            else{
                                echo "<option value='1'>Aktif</option>";
                                echo "<option value='0' selected>Pasif</option>";
                            }
                        ?>

                        </select>
                    </td>
                </tr>                 
            </table>
            <br/>
             <?php  echo anchor("admin_provinsi","Kembali","class='button' style='color:#f8f8f8'") ?>
            <input type="submit" value="         Simpan       " class="button"/>
            <div class="clear"></div>
        </form>
</div>